// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
// 使用Ajax获取数据
import axios from 'axios'

import router from './router'
// 解决移动端300毫秒点击延迟
import fastClick from 'fastclick'
/* 解决手机分辨率 */
import './assets/styles/reset.css'
/* 解决手机边框1px的问题 */
/* import './assets/styles/border.css' */
/* 改写 需在webpack.base.conf.js中添加标记（这里添加styles） */
import 'styles/border.css'
import './assets/styles/iconfont.css'

/* 引入数据管理框架 */
import store from './store'

/* 使用轮播插件 */
import VueAwesomeSwiper from 'vue-awesome-swiper'
import 'swiper/dist/css/swiper.css'

Vue.config.productionTip = false
fastClick.attach(document.body)
Vue.use(VueAwesomeSwiper)
Vue.prototype.$ajax = axios

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  components: { App },
  template: '<App/>'
})
